<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      table {
        width: 100%;
        border-collapse: collapse;
      }
      tr:nth-of-type(even) {
        background-color: #ccc;
      }
      tr:nth-of-type(odd) {
        background-color: #04e76e;
      }
    </style>
  </head>
  <body>
    <table border="1">
      <tr>
        <th>序号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>性别</th>
        <th>操作</th>
      </tr>
      <tr>
        <td>1</td>
        <td>张三</td>
        <td>22</td>
        <td>男</td>
        <td>无</td>
      </tr>
      <tr>
        <td>2</td>
        <td>张三</td>
        <td>22</td>
        <td>男</td>
        <td>无</td>
      </tr>
      <tr>
        <td>3</td>
        <td>张三</td>
        <td>22</td>
        <td>男</td>
        <td>无</td>
      </tr>
      <tr>
        <td>4</td>
        <td>张三</td>
        <td>22</td>
        <td>男</td>
        <td>无</td>
      </tr>
      <tr>
        <td>5</td>
        <td>张三</td>
        <td>22</td>
        <td>男</td>
        <td>无</td>
      </tr>
    </table>
  </body>
</html>
